<%@ page language="java" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>My JSP 'noticeManage.jsp' starting page</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
<script type="text/javascript" src="<%=basePath%>js/jquery-1.4.2.min.js"></script>
<script type="text/javascript"
	src="<%=basePath%>js/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript"
	src="<%=basePath%>page/notice/js/noticeManage.js"></script>

</head>

<body
	style="
	background: url(<%=basePath%>img/bg.jpg) -200px -83px;
	background-attachment: fixed;">
<div>
<div
	style="height: 30px; width: 100%; border: solid 1px #4B6DA3; text-align: center">
<label> 选择时间: </label> <input id="date" type="text" value="2010-1-1"
	class="wdate" onClick="WdatePicker()" /> <label> 选择查询类型: </label> <select
	id="selectType" name="selectType">
	<option value="selectType">-请选择查询类型-</option>
	<option value="day">按日查询</option>
	<option value="month">按月查询</option>
	<option value="year">按年查询</option>
</select> <input type="button" value="查询" id="noticeSelect" /></div>
<div id="toolbar"
	style="height: 30px; width: 100%; border: solid 1px #4B6DA3; text-align: center">
<input type="button" onclick="updateNotice()" value="修改" /> <input
	type="button" onclick="delNotice()" value="删除" /></div>
<div id="result"></div>
<div id="page" style="display: none; border: solid 1px #4B6DA3">
<table align="center">
	<tr>
		<td>第&nbsp; <font color="red"><span id="PageNum"></span> </font>&nbsp;页
		</td>
		<td>/共 &nbsp; <font color="red"><span id="totalPage"></span>
		</font>&nbsp;页&nbsp;</td>
		<td><a id="FirstPage" style="text-align: center;"> 首页</a>&nbsp;</td>
		<td><a id="PrevPage" style="text-align: center;">&laquo; 上一页</a>
		&nbsp; <font color="red"><span id="nowPage"></span> </font>&nbsp; <a
			id="NextPage">下一页 &raquo;</a> &nbsp;</td>
		<td><a id="LastPage" style="text-align: center;"> 尾页</a>&nbsp;</td>
		<td style="width: 200px">快速跳到 <input style="width: 80px"
			type="text" id="currentPage"> 页</td>
		<td><input type="button" id="gotoPageNum" value="GO" style=""></td>
	</tr>
</table>
</div>
</div>
</body>
</html>
